global.http = "http://152.136.121.161:8080/jpress";
global.MENU = {
    introduce:{// (页面)
        icon:'/img/menu_icon1.png',
        name:'公司概况',
        key:"introduce",
        list:[
            {"text":"公司简介","url":"/con/introduce1"},
            {"text":"历史沿革","url":"/con/introduce2"},
            {"text":"领导团队","url":"/con/introduce3"},
            {"text":"组织机构","url":"/con/introduce4"},
            {"text":"公司治理","url":"/con/introduce5"},
            {"text":"企业资信","url":"/con/introduce6"},
            {"text":"总裁信箱","url":"/con/introduce7"},
        ]
    },
    news:{// 列表文章 (文章 + 分类)
        icon:'/img/menu_icon2.png',
        name:'新闻中心',
        key:"news",
        list:[
            {"text":"公司要闻","url":"/list/news/gsyw"},// 分类 gsyw
            {"text":"媒体聚焦","url":"/list/news/mtjj"},// 分类 mtjj
            {"text":"行业动态","url":"/list/news/hydt"},// 分类 hydt
            {"text":"子公司报道","url":"/list/news/zgsbd"},// 分类 zgsbd
        ]
    },
    business:{// (页面)
        icon:'/img/menu_icon3.png',
        name:'业务领域',
        key:"business",
        list:[
            //{"text":"业务","url":"/con/business/xx"},
            {"text":"环保业务","url":"/con/business1"},
            {"text":"海洋产业","url":"/con/business2"},
            {"text":"海外业务","url":"/con/business3"},
            {"text":"投资业务","url":"/con/business4"},
            {"text":"金融服务","url":"/con/business5"},
        ]
    },
    base:{// (页面)
        icon:'/img/menu_icon3.png',
        name:'发展基础',
        key:"base",
        list:[
            {"text":"装备综述","url":"/con/base1"},
            {"text":"耙吸挖泥船","url":"/con/base2"},
            {"text":"绞吸挖泥船","url":"/con/base3"},
            {"text":"斗式挖泥船","url":"/con/base3"},
            {"text":"工程辅助船队","url":"/con/base4"},
            {"text":"其他工程船队","url":"/con/base5"},
            {"text":"科研平台","url":"/con/base6"},
            {"text":"科技成果","url":"/con/base7"},
        ]
    },
    culture:{// (页面)
        icon:'/img/menu_icon3.png',
        name:'企业文化',
        key:"culture",
        list:[
            {"text":"文化理念","url":"/con/culture1"},
            {"text":"形象标识","url":"/con/culture2"},
            {"text":"社会责任","url":"/con/culture3"},
            {"text":"品牌建设","url":"/con/culture4"},
        ]
    },
    resources:{// (页面)
        icon:'/img/menu_icon3.png',
        name:'人力资源',
        key:"resources",
        list:[
            {"text":"人才理念","url":"/con/resources1"},
            {"text":"人才队伍","url":"/con/resources2"},
            {"text":"职业发展","url":"/con/resources3"},
            {"text":"招聘信息","url":"/con/resources4"},
            {"text":"信息公示","url":"/con/resources5"},
        ]
    },
    building:{// (页面)
        icon:'/img/menu_icon3.png',
        name:'党的建设',
        key:"building",
        list:[
            {"text":"基层风采","url":"/con/building1"},
            {"text":"榜样力量","url":"/con/building2"},
            {"text":"党风廉政","url":"/con/building3"},
            {"text":"工会工作","url":"/con/building4"},
            {"text":"青年工作","url":"/con/building5"},
        ]
    },
    infomation:{// (页面)
        icon:'/img/menu_icon3.png',
        name:'信息公开',
        key:"infomation",
        list:[
            {"text":"基本信息","url":"/con/infomation1"},
            {"text":"企业资信","url":"/con/infomation2"},
            {"text":"文化理念","url":"/con/infomation3"},
            {"text":"组织机构","url":"/con/infomation4"},
            {"text":"人事任免","url":"/con/infomation5"},
            {"text":"重大项目进展","url":"/con/infomation6"},
            {"text":"突发事件处置","url":"/con/infomation7"},
            {"text":"重大活动","url":"/con/infomation8"},
            {"text":"职工权益","url":"/con/infomation9"},
            {"text":"社会责任","url":"/con/infomation10"},
        ]
    },
}


global.loading = function(flag){
    let dom = document.getElementById("root");
    if(flag){
        dom.classList.add("loading")
    }else{
        dom.classList.remove("loading")
    }
}
